export type { CourseListItemType, TimeTableListItemType } from '@/api/service/base.type';
export type {
	EventLineItemType,
	AudioTaskTimeTableItemType
} from '@/api/service/lesson-analysis-details.type';
import type {
	GetAnalysisResultResponseType,
	AudioTaskTimeTableItemType
} from '@/api/service/lesson-analysis-details.type';

export interface AnalysisResultType extends GetAnalysisResultResponseType {
	planBreakTime?: number;
	realBreakTime?: number;
	calLateBeginTime?: number;
	calBeginTime?: number;
	calEarlyStopTime?: number;
	calLateStopTime?: number;
	calEndTime?: number;
	calTotalTime?: number;
	planTotalTime?: number;
	calTeachTime?: number;
}

// 课间信息
export interface BreakInfoType {
	time: number;
	offset: number;
	type: number;
}
// 格式化课间信息
export interface FormatBreakInfoType {
	time: number;
	offset: number;
	width: number;
	duration: number;
}
// 时长信息
export interface DurationInfoType {
	speaker: string;
	maxDurationTime: number;
	totalTime: number;
	color?: string;
	isTeacher?: boolean;
}
// 块信息
export interface BlockInfoType extends AudioTaskTimeTableItemType {
	x: number;
	y: number;
	width: number;
	height: number;
	index: number;
	color: string;
}
